package com.ys.utils.yinsheng.yztdock.common;

import java.util.ArrayList;
import java.util.List;

public class Consts {

	public static List<String> headList=new ArrayList<String>();
	static{
		headList.add("appSecret");
		headList.add("appUserCode");
		headList.add("ip");
		headList.add("OSVersion");
		headList.add("deviceType");
		headList.add("machineModel");
		headList.add("appPackge");
		headList.add("src");
		headList.add("sdkVersion");
		headList.add("deviceId");
		headList.add("appServiceId");
		headList.add("deviceLocation");
		headList.add("fullDeviceNumber");
		headList.add("deviceSIMNumber");
		headList.add("deviceName");
		headList.add("macAddr");
	}
	
	public static final String CHARSET_CODE = "UTF-8";

	/**
	 * 返回码A0-验证签名失败
	 */
	public static final String RESP_CODE_A0 = "A0";
	/**
	 * 返回码A1-解密密文失败
	 */
	public static final String RESP_CODE_A1 = "A1";
	/**
	 * 返回码A2-获取业务参数失败
	 */
	public static final String RESP_CODE_A2 = "A2";

	
	public static final String BUSINESS_PARAM_CODE = "code";
	public static final String BUSINESS_PARAM_MSG = "msg";
	public static final String BUSINESS_PARAM_DATA = "data";
	public static final String BUSINESS_PARAM_TIMESTAMP = "timeStamp";
	public static final String BUSINESS_PARAM_SIGN = "sign";
	public static final String BUSINESS_PARAM_NORCE = "norce";
	
	/**
	 * 请求来源-标识
	 */
	public static final String REQ_SOURCE_FLAG = "req-source";
	/**
	 * 请求来源-doclever平台
	 */
	public static final String REQ_SOURCE_DOCLEVER = "doclever";
	
	public static final String ENV = "beta";
	
	public static final String SRC_BLACK = "02";
	
}
